:root {
  --ink: #333333;
  --muted: #777777;
  --paper: #ffffff;
  --surface: #f3f8fa;
  --line: #b0d6e1;
  --brand: #027d9d;
  --brand-dark: #014d61;
  --brand-soft: #e8f4f7;
  --shadow: 0 18px 50px rgba(1, 77, 97, 0.1);
  --font: "museo-sans", "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-editorial: Georgia, "Times New Roman", Times, serif;
}

* {
  box-sizing: border-box;
}

html {
  background: #eef5f7;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(176, 214, 225, 0.42) 0, rgba(238, 245, 247, 0) 240px),
    #eef5f7;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.landing-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 34px;
}

.brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 108px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.brand-logo {
  display: block;
  width: 104px;
  height: auto;
}

.edition {
  color: #555555;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.72fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: end;
  margin-top: 26px;
  padding: clamp(34px, 6vw, 76px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 8px solid var(--brand);
  border-radius: 2px;
  background:
    linear-gradient(125deg, #ffffff 0%, #ffffff 72%, #f0f8fa 100%),
    var(--paper);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin-bottom: 13px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(2.375rem, 5vw, 3.625rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hero-lead {
  max-width: 740px;
  margin-bottom: 14px;
  font-size: clamp(19px, 2.1vw, 25px);
  font-weight: 300;
  line-height: 1.4;
}

.hero-support {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.importance-note {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 17px;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand);
  border-radius: 0;
  background: var(--brand-soft);
}

.importance-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: white;
  background: var(--brand);
  font-size: 22px;
  font-weight: 850;
}

.importance-title {
  margin-bottom: 7px;
  font-weight: 800;
}

.importance-note p:last-child {
  margin-bottom: 0;
  color: #345d68;
  font-size: 15px;
}

.survey-section {
  padding: clamp(52px, 8vw, 92px) clamp(0px, 2vw, 22px) 28px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

h2 {
  max-width: 710px;
  margin-bottom: 0;
  color: var(--brand-dark);
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-note {
  max-width: 280px;
  margin-bottom: 5px;
  color: var(--muted);
  text-align: right;
}

.survey-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.survey-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(1, 77, 97, 0.07);
}

.survey-card-featured {
  border-color: var(--brand);
  border-top-width: 6px;
  background: var(--paper);
  box-shadow: 0 18px 42px rgba(2, 125, 157, 0.15);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 36px;
}

.survey-badge,
.availability {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.survey-badge {
  color: var(--brand-dark);
  background: #d9edf2;
}

.availability {
  color: #65716c;
  background: #ecefeb;
}

.availability-active {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.survey-card-copy {
  flex: 1;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.survey-duration {
  margin-bottom: 20px;
  color: var(--brand-dark);
  font-weight: 700;
}

.survey-description {
  max-width: 540px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
}

.survey-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 58px;
  padding: 15px 18px;
  border: 1px solid var(--brand);
  border-radius: 0;
  color: white;
  background: var(--brand);
  font-weight: 700;
  letter-spacing: 0.025em;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.survey-action:hover {
  transform: translateY(-2px);
  background: var(--brand-dark);
  box-shadow: 0 10px 24px rgba(2, 125, 157, 0.2);
}

.survey-action:focus-visible {
  outline: 3px solid rgba(2, 125, 157, 0.32);
  outline-offset: 4px;
}

.survey-action-disabled,
.survey-action-disabled:hover {
  border-color: #d2d8d4;
  color: #7b8581;
  background: #edf0ed;
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

.coordinator-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1.8fr);
  gap: 24px;
  align-items: center;
  padding-top: 26px;
  border-top: 2px solid var(--line);
}

.coordinator-strip-heading .eyebrow {
  margin-bottom: 6px;
}

.coordinator-strip-heading h2 {
  max-width: 220px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.coordinator-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.coordinator-person {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.portrait-ring {
  flex: 0 0 auto;
  display: grid;
  width: 74px;
  height: 74px;
  padding: 5px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 2px white;
}

.coordinator-person img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1);
}

.coordinator-person img.portrait-heike {
  object-position: 50% 24%;
}

.coordinator-person h3 {
  overflow-wrap: anywhere;
  margin-bottom: 2px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
}

.coordinator-person p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.25;
}

.funding-footer {
  padding: 28px clamp(0px, 2vw, 22px) 4px;
  border-top: 1px solid #ced8d1;
}

.funding-logo-collage {
  width: 100%;
  height: clamp(180px, 24vw, 288px);
  border: 1px dashed #9eaaa4;
  border-radius: 14px;
  background: #fff url("https://umfrage.elberadweg.de/erw/Ihre%20Meinung%20zum%20Elberadweg_files/D10%20-%20F%C3%B6rderlogos%20BMV%20BALM.png") center / contain no-repeat;
}

@media (max-width: 840px) {
  .hero,
  .survey-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: stretch;
  }

  .importance-note {
    max-width: 620px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .coordinator-strip {
    grid-template-columns: 1fr;
  }

  .coordinator-strip-heading h2 {
    max-width: none;
  }

  .coordinator-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section-note {
    max-width: 620px;
    text-align: left;
  }

  .survey-card {
    min-height: 0;
  }

  .survey-card-featured {
    order: -1;
  }
}

@media (max-width: 560px) {
  .landing-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 14px;
  }

  .brand-bar {
    min-height: 94px;
  }

  .brand-logo {
    width: 86px;
  }

  .hero {
    margin-top: 22px;
    padding: 28px 22px;
    border-radius: 0;
  }

  h1 {
    font-size: 2.375rem;
  }

  h2 {
    font-size: 2rem;
  }

  .importance-note {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 19px;
  }

  .importance-mark {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .card-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .survey-card {
    padding: 24px 20px;
    border-radius: 0;
  }

  .coordinator-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }

  .portrait-ring {
    width: 64px;
    height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .survey-action {
    transition: none;
  }
}
